package cn.tedu.rms.reservation.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ReservationQuery {
    @ApiModelProperty(value="预约表主键Id")
    private Long id;
    @ApiModelProperty(value="预约用户Id")
    private Long userId;
    @ApiModelProperty(value="分店Id")
    private Long branchId;
    @ApiModelProperty(value="桌台Id")
    private Long tableId;
    @ApiModelProperty(value="处理人Id")
    private Long handleId;
    @ApiModelProperty(value="预约人名称")
    private String username;
    @ApiModelProperty(value="预留姓名")
    private String reserveName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value="预约时间")
    private Date reservationTime;
    @ApiModelProperty(value="预留电话")
    private String phone;
    @ApiModelProperty(value="预约状态")
    private String status;
    @ApiModelProperty(value="备注")
    private String remark;
    @ApiModelProperty(value="驳回原因")
    private String rejectReason;

}
